//
//  XFDraggableButton.h
//  FreeTime
//
//  Created by 王江华 on 16/9/19.
//  Copyright © 2016年 SRDZ.com. All rights reserved.
//
@protocol XFDraggableButtonDelegate;
#import <UIKit/UIKit.h>
@interface XFDraggableButton : UIButton{

    CGPoint startLocation;

}
@property (assign, nonatomic) CGFloat limitLeft;

@property (assign, nonatomic) CGFloat limitRight;

@property(weak,nonatomic)id <XFDraggableButtonDelegate> delegate;

@end

@protocol XFDraggableButtonDelegate<NSObject>

@optional


-(void)dragWithButton:(XFDraggableButton *)button;


@end
